package cn.com.clearbus.service.impl;

import cn.com.clearbus.mybatis.User;
import cn.com.clearbus.repository.UserMapper;
import cn.com.clearbus.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public Object Sel(int id) {
        User userInfo = userMapper.getUserInfo(id);
        return userInfo;
    }


}
